package com.jms.mybatis.plus.context;

import com.jms.framework.context.Context;
import org.apache.ibatis.session.SqlSession;

import javax.sql.DataSource;
import java.sql.Connection;

public interface MybatisContext extends Context {
    SqlSession getSqlSession();

    SqlSession getSqlSession(Connection connection);

    DataSource getDataSource();
}
